// #include "compensator.hpp"

// #include "armor_detector.hpp"
// #include "gtest/gtest.h"

// namespace {
// const std::string kFILE = "../../../runtime/MV-CA016-10UC-6mm.json";
// const std::string kFRAME = "../../../image/armor1.jpg";
// const std::string kPRAMAS = "../../../runtime/RMUL2021_Armor.json";
// } 

// TEST(TestVision, TestCompensator) {
//   ArmorDetector detector(kPRAMAS, game::Team::kRED);
//   Compensator compensator(kFILE);

//   cv::Mat frame = cv::imread(kFRAME);
//   cv::Mat painting = frame.clone();

//   auto armors = detector.Detect(frame);
//   detector.VisualizeResult(painting, 3);
//   cv::imshow("ababa", painting);
//   cv::waitKey(0);

//   compensator.Apply(armors, frame);
//   for (auto& armor : armors) {
//     auto elur = armor.GetAimEuler();
//     SPDLOG_WARN("Pitch : {} Yaw : {} Roll : {}", elur.pitch, elur.yaw,
//                 elur.roll);
//   }
// }